package me.model;

import me.enums.ItemType;

import org.newdawn.slick.Color;
import org.newdawn.slick.geom.Polygon;

public abstract class AdventureItem {
	
	private int screencode;
	private float x;
	private float y;
	private Color color;
	private ItemType type;
	public Polygon poly;
		
	public int getScreencode(){
		return screencode;
	}
	
	public void setScreencode(int code){
		this.screencode = code;
	}
	
	public float getX() {
		return x;
	}
	
	public void setX(float x) {
		this.x = x;
	}
	
	public float getY() {
		return y;
	}
	
	public void setY(float y) {
		this.y = y;
	}
	
	public Color getColor() {
		return color;
	}
	
	public void setColor(Color color) {
		this.color = color;
	}

	public ItemType getType() {
		return type;
	}

	public void setType(ItemType type) {
		this.type = type;
	}
}